package com.forum.service.confession;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.ApiResult;
import com.forum.param.ConfessionCommentQueryParam;
import com.forum.param.ConfessionSendCommentParam;
import com.forum.pojo.confession.ConfessionWallComment;

import java.util.Map;

/**
 * @author Tsing
 */
public interface ConfessionWallCommentService extends IService<ConfessionWallComment> {

    /**
     * 表白墙发送评论
     * @return ApiResult
     * @param param
     * **/
    ApiResult<String> sendComment(ConfessionSendCommentParam param);

    /**
     * 获取指定表白墙下的评论
     * @return ApiResult
     * @param param
     * **/
    Map<String, Object> getCommentsByConfession(ConfessionCommentQueryParam param);
}
